// pages/order/process/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    process:{
      returnMilage:31562,// 还车里程数：
      returned:{
        date:'06/06',
        time:'09:46'
      },//还车时间
      returnImg:[
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
      ],//换车图片
      startReturn:{        
        date:'06/03',
        time:'09:06'
      },//开始还车时间
      reservationReturn:{        
        date:'06/02',
        time:'09:06'
      },//预约还车时间
      reservationReturnTime:'2020/06/06   08:00:00-09:00:00',//已预约归还车辆时间为
      uploadLicense:{        
        date:'06/01',
        time:'09:06'
      },//上传行驶证副本时间
      uploadLicenseImg:[
        'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=602330140,2671000958&fm=26&gp=0.jpg',
      ],//上传行驶证副本图片
      reach:{        
        date:'06/03',
        time:'09:06'
      },//到达检测站时间
      get:{
        date:'06/06',
        time:'09:46'
      },//取车时间
      getImg:[
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
        'http://img0.imgtn.bdimg.com/it/u=3220540018,1612665552&fm=26&gp=0.jpg',
      ],//取车图片
      reservationHandover:{        
        date:'05/02',
        time:'05:06'
      },//预约还车时间
      reservationHandoverTime:'2020/05/06   08:00:00-09:00:00',//已预约归还车辆时间为
    },
    status:6
  },
//图片点击事件
imgYu:function(event){
  var src = event.currentTarget.dataset.src;//获取data-src
  var imgList = event.currentTarget.dataset.list;//获取data-list
  console.log(src,imgList)
  //图片预览
  wx.previewImage({
    current: src, // 当前显示图片的http链接
    urls: imgList // 需要预览的图片http链接列表
  })
},
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})